//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Common
//  File name:	IWebContext.cs
//  Developer:	Solomatov Igor
//  Created:	15.04.2012
// 
//  -------------------- iSharePoint -------------------- //

using System.Collections.Generic;
using Microsoft.SharePoint;

namespace Smart.Common
{
	/// <summary>
	/// SharePoint Web Scope
	/// </summary>
	public interface IWebEntityScope : IEntityScope
	{
		/// <summary>
		/// Web url
		/// </summary>
		string WebUrl { get; }

		/// <summary>
		/// SharePoint Web, associated with current scope
		/// </summary>
		SPWeb Web { get; }

		/// <summary>
		/// SharePoint lists
		/// </summary>
		HashSet<string> Lists { get; set; }

		/// <summary>
		/// Web root folder
		/// </summary>
		SPFolder Folder { get; }
	}
}